package com.xin.di.uav.applet.resp;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 * <p>
 *
 * </p>
 *
 * @author LTQ
 * @since 2023-04-04
 */
@Data
public class RescueOrderResponse implements Serializable {

    private String id;

    @ApiModelProperty("下单时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createdAt;

    @ApiModelProperty("订单状态")
    private Integer status;

    @JsonFormat(pattern = "yyyy/MM/dd HH:mm:ss", timezone = "GMT+8")
    private Date expireTime;

    @ApiModelProperty("实际支付金额")
    private BigDecimal totalAmount;

    @ApiModelProperty("快递费")
    private BigDecimal expressFee;

    @ApiModelProperty("总购买数量")
    private Integer totalCnt;
    @ApiModelProperty("订单号")
    private String orderNo;

    @ApiModelProperty("购买的商品列表")
    private List<CommodityResponse> commodityResponses;

}
